package System;

import java.util.Arrays;

/**
 * @author 王艺锡
 * @version 1.0
 */
public class SystemMethod {
    public static void main(String[] args) {
        //1.exit
        System.out.println("1");
        //exit(0)表示退出状态
        //0表示正常状态
        //System.exit(0);
        System.out.println("2");

        //2.arrycopy数组复制
        int arr1[] = {1,2,3,};
        int arr2[] = new int[3];
        System.arraycopy(arr1,0,arr2,0,arr1.length);
        System.out.println(Arrays.toString(arr2));
    }
}
